<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<script>
function addorder()
{
	$('#addstorageform').modal('show');	
}
</script>
<style type="text/css">
.stdtable tbody tr td{padding:3px 5px;}
</style>
<title>{{$deliver_type}}{{$check_month}}月对帐详细</title>
<body class="withvernav">
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">交运对帐详细</h1>
      <span class="pagedesc"></span>
       <div class="menulist">
        <ul class="profile_summary">

        </ul>
      </div>
    </div>
    <!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
          <!--搜索栏-->
           <div class="page">{{$pageList}} 计{{$total}}条记录</div>
           <form class="stdform stdform2" method="get" action="/sales/salesProgramList">
      <div class="tableoptions"> 标题： {{$deliver_type}}{{$check_month}}月对帐详细</div>
    </form>
    <!--搜索栏结束-->

             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
            	<thead>
                <tr bgcolor="#EEEEEE">
                  <th class="head1">exl行号</th>
                  <th class="head1">运单号</th>
                    <th class="head1">发件日期</th>
                    <th class="head1">重量</th>
                    <th class="head1">复漫称重</th>
                    <th class="head1">资费</th>
                    <th class="head1">复漫预估运费</th>
                    <th class="head1">复漫订单号</th>
                    <th class="head1">备注</th>
                    <th class="head1">对帐时间</th>
                    <th class="head1">操作人</th>
                </tr>
                </thead>

                {{foreach from=$list item=li key=key}}
                    <tr >
                      <td style="background:{{if $li.check_ret>1}}{{if $li.check_ret>2}}red{{else}}#33CC00{{/if}}{{/if}}{{if $li.check_ret eq 1}}#FF9900{{/if}}">{{$li.exl_line}}</td>
                      <td>{{$li.exp_number}}</td>
                      <td>{{$li.exp_date}}</td>
                        <td style="background:{{if $li.check_ret eq 1}}#FF9900{{/if}}">
                           {{$li.weight}}                       </td>
                      <td>  {{$li.fuman_weight}}  </td>
                      <td>{{$li.price}}</td>
                        <td>{{$li.fuman_price}}</td>
                        <td><a href="{{if $li.isform eq 3}}/oversea/transportlist?st=1&other={{$li.order_sn}}{{else}}/orderlist/orderlist?kw={{$li.order_sn}}{{/if}}" target="_blank">{{$li.order_sn}}</a></td>
                        <td>{{$note_data[$li['exp_number']]}}</td>
                        <td>{{$li.createtime|substr:0:16}}</td>
                        <td>{{$li.creator}}</td>
                    </tr>
                {{/foreach}}
{{foreach from=$waring_arr item=li key=key}}
                    <tr >
                      <td  style=" background:#FF9900">&nbsp;</td>
                      <td  style=" background:#FF9900">{{$li.deliverNumber}}</td>
                        <td>{{$li.deliverDate}}</td>
                        <td {{if $li.weight_waring==1}}style=" background:#FF9900"{{/if}}>
                      {{$li.deliverWeight}}                       </td>
                        <td>  {{$li.weight}}  </td>
                      <td {{if $li.fre_waring==1}}style=" background:#FF9900"{{/if}}>{{$li.deliverFee}}</td>
                        <td>{{$li.fee}}</td>
                        <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                      <td>&nbsp;</td>
                    </tr>
                {{/foreach}}
            </table>
          
        <div class="page">{{$pageList}} 计{{$total}}条记录，</div>
      </div></div>
</body>
</html>